using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.Webkit;
using Android.Content;
using Android.Content.PM;

namespace MWC.Android.Screens
{
    [Activity(Label = "AgendaDetailsScreen", ScreenOrientation = ScreenOrientation.Portrait)]
    class AgendaDetailsScreen : Activity
    {
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            SetContentView(Resource.Layout.AgendaDetailsScreen);
            WebView agendaWebView = FindViewById<WebView>(Resource.Id.AgendaWebView);

            string description = Intent.GetStringExtra("Description");
            
            agendaWebView.LoadData(description, "text/html; charset=UTF-8", null);

        }
    }
}